package QuestionNum_10_1_1;

public class Test {
    public static void main(String[] args) {
        Programmer p = new Programmer("小李",1001,8000);
        Manager m = new Manager("小汪",1001,8000,800);

        p.work();
        m.work();

        Employee e = new Programmer("小李",1001,8000);
        e.work();
    }
}
